<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>Fluid Survival Tool: Line Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Fluid Survival Tool
   &#160;<span id="projectnumber">0.01</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classLine-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Line Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="Line_8h_source.html">Line.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Line:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classLine.png" usemap="#Line_map" alt=""/>
  <map id="Line_map" name="Line_map">
<area href="classSegment.html" alt="Segment" shape="rect" coords="0,56,60,80"/>
<area href="classSegment.html" alt="Segment" shape="rect" coords="70,56,130,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7a28a259e16334fce3954a07f5a7d560"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a28a259e16334fce3954a07f5a7d560"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Line</b> (double _a, double _b)</td></tr>
<tr class="separator:a7a28a259e16334fce3954a07f5a7d560"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82c516dfe89c6fe1f8d6c7fd4e4c3365"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a82c516dfe89c6fe1f8d6c7fd4e4c3365"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Line</b> (double _X)</td></tr>
<tr class="separator:a82c516dfe89c6fe1f8d6c7fd4e4c3365"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefa59ccadcf3d41ff8eda0956fa0328e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aefa59ccadcf3d41ff8eda0956fa0328e"></a>
<a class="el" href="classLine.html">Line</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classLine.html">Line</a> &amp;l)</td></tr>
<tr class="separator:aefa59ccadcf3d41ff8eda0956fa0328e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38634910f5a383f509f469e6d933460f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a38634910f5a383f509f469e6d933460f"></a>
<a class="el" href="classLine.html">Line</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator-</b> (const <a class="el" href="classLine.html">Line</a> &amp;l)</td></tr>
<tr class="separator:a38634910f5a383f509f469e6d933460f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d15d876c9e5405948078bcaa20fa1ce"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLine.html#a3d15d876c9e5405948078bcaa20fa1ce">getY</a> (double x)</td></tr>
<tr class="separator:a3d15d876c9e5405948078bcaa20fa1ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7e031cb0df26db42dcd6b9dc3143378"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af7e031cb0df26db42dcd6b9dc3143378"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isUp</b> (<a class="el" href="structPoint.html">Point</a> &amp;p)</td></tr>
<tr class="separator:af7e031cb0df26db42dcd6b9dc3143378"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77c4f413c7bcbb5f6b1bef061791c504"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a77c4f413c7bcbb5f6b1bef061791c504"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>intersect</b> (<a class="el" href="classLine.html">Line</a> &amp;l, <a class="el" href="structPoint.html">Point</a> &amp;intPoint)</td></tr>
<tr class="separator:a77c4f413c7bcbb5f6b1bef061791c504"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a28a259e16334fce3954a07f5a7d560"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a28a259e16334fce3954a07f5a7d560"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Line</b> (double _a, double _b)</td></tr>
<tr class="separator:a7a28a259e16334fce3954a07f5a7d560"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab29b6a1ce88c16bb1ed422ecffce61b2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab29b6a1ce88c16bb1ed422ecffce61b2"></a>
<a class="el" href="classLine.html">Line</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classLine.html">Line</a> &amp;l)</td></tr>
<tr class="separator:ab29b6a1ce88c16bb1ed422ecffce61b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38634910f5a383f509f469e6d933460f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a38634910f5a383f509f469e6d933460f"></a>
<a class="el" href="classLine.html">Line</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator-</b> (const <a class="el" href="classLine.html">Line</a> &amp;l)</td></tr>
<tr class="separator:a38634910f5a383f509f469e6d933460f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d15d876c9e5405948078bcaa20fa1ce"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLine.html#a3d15d876c9e5405948078bcaa20fa1ce">getY</a> (double x)</td></tr>
<tr class="separator:a3d15d876c9e5405948078bcaa20fa1ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77c4f413c7bcbb5f6b1bef061791c504"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a77c4f413c7bcbb5f6b1bef061791c504"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>intersect</b> (<a class="el" href="classLine.html">Line</a> &amp;l, <a class="el" href="structPoint.html">Point</a> &amp;intPoint)</td></tr>
<tr class="separator:a77c4f413c7bcbb5f6b1bef061791c504"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:aac9f3d76356545f5ab1cdc3fd52abd22"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aac9f3d76356545f5ab1cdc3fd52abd22"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>a</b></td></tr>
<tr class="separator:aac9f3d76356545f5ab1cdc3fd52abd22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6de6683110d1c49d6d995476fdd31ed"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac6de6683110d1c49d6d995476fdd31ed"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>b</b></td></tr>
<tr class="separator:ac6de6683110d1c49d6d995476fdd31ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94c79256ba2c97532087fcafaa996735"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a94c79256ba2c97532087fcafaa996735"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>X</b></td></tr>
<tr class="separator:a94c79256ba2c97532087fcafaa996735"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents typical line equation: <img class="formulaInl" alt="$ y = ax + b$" src="form_1.png"/> (our case: <img class="formulaInl" alt="$t = as + b$" src="form_2.png"/>) </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a3d15d876c9e5405948078bcaa20fa1ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Line::getY </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>for sorting lines by their slop. </p>

</div>
</div>
<a class="anchor" id="a3d15d876c9e5405948078bcaa20fa1ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Line::getY </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>for sorting lines by their slop. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>model/<a class="el" href="Line_8h_source.html">Line.h</a></li>
<li>model/old/<a class="el" href="old_2Line_8h_source.html">Line.h</a></li>
<li>model/Line.cpp</li>
<li>model/old/Line.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Apr 10 2013 11:10:04 for Fluid Survival Tool by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
